package net.pws.common.persistence;

public class DeleteEntityException extends UnitOfWorkException {
    
    private Object entity;
    
    public DeleteEntityException(Object entity, Throwable cause) {
        super(cause.getMessage(), cause);
        this.entity = entity;
    }
    
    public Object getEntity() {
        return entity;
    }
    
}
